package com.ys.otms.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.transaction.annotation.Transactional;

@Data
@Transactional
@NoArgsConstructor
public class BusinessAnalysisDto {

    //船名
    private String shipName;
    //每条船的实装总量
    private Double sZTotal;
    //每条船的货损率
    private Double hsl;
    //每个货种的发货量
    private Double fhl;
    //每个货种的发货量占比
    private Double fhlZB;
    //查询开始时间
    private String beginTime;
    //查询结束时间
    private String endTime;
    //公司Id
    private Integer companyId;

    public BusinessAnalysisDto(String beginTime, String endTime, Integer companyId) {
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.companyId = companyId;
    }
}
